package com.woniuxy.ticketcommon.entity;


import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 发送结果
 * @author yanqiwei
 */
@Data
@Accessors(chain = true)
public class ResponseResult<T> {

    private Integer code;
    private String msg;
    private T data;

    public static final ResponseResult FAILED= new ResponseResult().setCode(500).setMsg("操作失败");
    public static final ResponseResult SUCCESS= new ResponseResult().setCode(200).setMsg("操作成功");
}
